package com.coolwen.dao;

import com.coolwen.entity.Expert;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ExpertMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Expert record);

    int insertSelective(Expert record);

    Expert selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Expert record);

    int updateByPrimaryKey(Expert record);

    List<Expert> selectAllInfo();

    List<Expert> selectExpertCourseInfo(Map<String, Object> params);

    int find_count(Map<String, Object> params);

    List<Expert> selectAllExpertCourseInfo(Map<String, Object> params);

    int selectCourse_count(Map<String, Object> params);

}